package com.woniu.serviceprice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//  启动类
@SpringBootApplication
//  注册服务
@EnableDiscoveryClient
//  调用其他服务
@EnableFeignClients(basePackages = {"com.woniu.internalcommon.remote"})
@MapperScan("com.woniu.serviceprice.mapper")
public class ServicePriceApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServicePriceApplication.class, args);
	}

}
